Skip to content

Conversation

@kalibera
Copy link
Contributor

@kalibera kalibera commented Mar 3, 2025

This patch switches to using pkg-config to establish libraries to link (and C preprocessor directives to use) on Windows. This allows the package to work with an upcoming version of Rtools, which includes libgit2 linked against pcre2 (previously, pcre 1 was used). Pkg-config is used conditionally; when it is not available, the old hard-coded linking is used assuming pcre 1. With this patch applied, the package builds with Rtools42,43,44 and upcoming 45 on my system - with the matching versions of R.

@stewid stewid merged commit 0020779 into ropensci:main Mar 4, 2025
4 checks passed
@stewid
Copy link
Member

stewid commented Mar 4, 2025

Thanks, much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants